import request from "@/utils/request";

//获取提现申请记录
export function get_withdrawal(data) {
  return request({
    url: "/ORDER/WITHDRAWAL_APPLICATION_RECORD",
    method: "post",
    data,
  });
}

//获取转账申请记录
// export function get_transfer(data) {
//     return request({
//         url: "/ORDER/WITHDRAWAL_APPLICATION_RECORD",
//         method: "post",
//         data,
//     });
// }

//获取充值申请记录
export function get_recharge(data) {
  "/COMMODITY/TOP_UP_LIST";
  return request({
    url: "/COMMODITY/TOP_UP_LIST",
    method: "post",
    data,
  });
}

//提交充值审核

export function recharge_audit(data) {
  return request({
    url: "/COMMODITY/RECHARGE_REVIEW",
    method: "post",
    data,
  });
}

//提交提现审核
export function withdrawal_audit(data) {
  return request({
    url: "/ORDER/WITHDRAWAL_REVIEW",
    method: "post",
    data,
  });
}
